package com.marco.system.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * ChinaAdInfo.java
 * Create on 2017/3/23
 * Copyright(c) JD Inc 2017. All Rights Reserved.
 * <pre>
 * 功能说明：此pojo映射中国行政区与京东ID的关系
 * </pre>
 */
@Entity
@Table(name = "sys_china_ad")
public class ChinaAdInfo implements Serializable {
    private static final long serialVersionUID = -3206993189317605607L;

    @Id
    private Integer id;
    private String fullName;
    private String shortName;
    private String jdId;
    private String jdName;
    private String code;
    private String parentCode;
    private Integer level;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getJdId() {
        return jdId;
    }

    public void setJdId(String jdId) {
        this.jdId = jdId;
    }

    public String getJdName() {
        return jdName;
    }

    public void setJdName(String jdName) {
        this.jdName = jdName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
